<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>首页 | 聚点团购 | 往期团购</title>
<jsp:include page="home/style.jsp" />
</head>
<body>
<div class="topbg"></div>
<div class="container">
	<jsp:include page="home/top.jsp" />
    <div class="main">
    	<jsp:include page="home/left.jsp" />
        <div class="content">
        	<div class="today_tuan">
            	<div class="cont_top"></div>
                <div class="cont_body">
                	<div class="regist">
                    	<div class="regist_tit"><span>往期团购</span></div>
                        <div class="past">
							<ul>
								<s:iterator value="tuans" var="t" status="s">
	                            	<li class="${s.odd?'border_right':'mleft15'}">
	                                	<dl>
	                                    	<dt><s:date name="publishTime" format="yyyy年MM月dd日"/> </dt>
	                                        <dd><a href="<s:url value='%{shopUrl(#t)}'/>" class="link2">
	                                        	<s:property value="%{shortStr(#t.simpleDescribe,45)}"/>
	                                        </a></dd>
	                                        <dd>
	                                        	<div class="pic"><img src="<s:url value='%{#t.headImg.iconImg}'/>"/></div>
	                                            <div class="buy_detail">
	                                            	<p><strong><s:property value="buyers.size"/></strong>人购买</p>
	                                                <p>原价:<span class="orig_price linethr">¥${originalPrice}</span></p>
	                                                <p>折扣:<span class="orig_price">${discount}折</span></p>
	                                                <p>现价:<span class="orig_price">¥${originalPrice}</span></p>
	                                                <p>节省:<span class="orig_price">¥${saved}</span></p>
	                                            </div>
	                                        </dd>
	                                    </dl>
	                                </li>
								</s:iterator>
                                <div class="clear"></div>
                            </ul>                       
                        </div>
                    </div>
                </div>
                <div class="cont_down2"></div>
            </div>
            <div class="today_tuan">
                <jsp:include page="home/footer.jsp" />
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">init();</script>
</body>
</html>